ScxV6Object.Move Method

Moves a database object from its current group to another.

Parameters

Remarks

The Move method will attempt to move an existing database object to a different parent group.

The operation may fail if:

Example:

The following example written in Visual Basic shows the Move method being used to move a point from a sub-group into the root:

' Connect to the server

Dim Svr As ScxV6DbClient.ScxV6Server

Svr = New ScxV6DbClient.ScxV6Server

Svr.Connect("MAIN", "", "")

' Find the point we wish to move

Dim Obj As ScxV6DbClient.ScxV6Object

Obj = Svr.FindObject("Group.Test Point")

' Move the point into the root

Obj.Move(Svr.RootObject.ID)

' Disconnect

Svr.Disconnect()


Disclaimer

Geo SCADA Expert 2021